



class NameServer {
	Printer *prt;
	unsigned int numVendingMachines;
	unsigned int numStudents;

	public:
		NameServer( Printer &prt, unsigned int numVendingMachines, unsigned int numStudents );
		void VMregister( VendingMachine *vendingmachine );
		VendingMachine *getMachine( unsigned int id );
		VendingMachine **getMachineList();
};

